import axios from 'axios'

const request = axios.create({
    baseURL: process.env.VUE_APP_BASE_MOCKAPI,
    timeout: 5000 //请求超时
})

export default request  //导出axios对象